package com.lincoln.cloud.servercenter.interfaces;

/**
 * 消息校验规则 + 执行(拦截器)
 *
 * @author lincoln
 */
public interface Verify {
    /**
     * 是否通过校验
     * @return
     * @throws Exception
     */
    boolean verify() throws Exception;

    /**
     * 执行
     * @return
     * @throws Exception
     */
    boolean execute() throws Exception;
}
